ExamPlay Dark Logo
Přihlaste se

Computer Science for IGCSE & O level - Programming (Section 12 - No. 35)

In Java, when are you required to import `java.io.File`?
When you are reading data from the file.
When you are writing data to the file.
When you are using the File class.
All of the above

Vysvětlení

The File class is a part of the java.io package, and this import statement is required for the program to access it.

Komentáře (0)

Přihlaste se pro komentář
Inzerát
BrainBehindX Inc Logo
©2026; Powered By BrainBehindX Inc